#ifndef _TYPES_H
#define _TYPES_H

/* size_t is defined as unsigned int and is the type of rv for such functions
 * like sizeof () and memory related ones */
typedef unsigned int size_t;

/* This version of size_t is an signed value not largely used */
typedef int ssize_t;

typedef long time_t;
typedef long clock_t;

#define NULL ((void *) 0)

typedef int pid_t;
typedef unsigned short uid_t;
typedef unsigned short gid_t;
typedef unsigned short dev_t;


/* sys */
typedef unsigned char unchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;

#endif
